package com.lsnu.wzy.mapper;

import java.util.List;
import java.util.Map;

import com.lsnu.wzy.po.Appointment;
import com.lsnu.wzy.po.Doctor;
import com.lsnu.wzy.po.EchartsData;
//预约记录
public interface AppointmentMapper {
	public List<Appointment> LSAppointment();
	public List<String> LSDeName();//查询科室的名称列表
	public List<String> LSDoctor();//查询医生名字
	public List<String> LSPatient();//查询病人名字
	public List<EchartsData> LSDepartment();//查询预约的科室
	public String findDoctor(String dID);
	public String findDepartment(String dID);//查询医生的部门
	public Appointment findAppointment(String aID);
	public List<Appointment> findPatientAppointment(String pName);//根据姓名查找
	public void addAppointment(Appointment appointment);//添加预约
	public void delAppointment(Integer id);//删除预约
	public void editAppointment(Appointment appointment);
	public int updateState(String aID);//改变患者预约状态
	public Appointment findLast();//查找最后一个预约数据
	
	public List<EchartsData> statistics();

}
